{extend name="index:layout" /}

{block name="menu"}
{include file="center/menu" /}
{/block}

{block name="content"}
 <form name="form1" method="post" action="{:url('config')}">
<div class="MainContainers">
  <div class="Header"><span class="tag">FTP设置</span><span class="more">&gt;&gt;</span></div>
  <div class="Conter">
        <table class="FormTable">
        <tr> 
          <td class="tdL">FTP主机IP地址:</td>
          <td class="tdR"> 
            <input type="text" name="webdbs[FtpHost]" value="{$webdb['FtpHost']}">
          </td>
        </tr>
        <tr> 
          <td class="tdL">FTP帐号:</td>
          <td class="tdR"> 
            <input type="text" name="webdbs[FtpName]" value="{$webdb['FtpName']}">
          </td>
        </tr>
        <tr> 
          <td class="tdL">FTP密码:</td>
          <td class="tdR"> 
            <input type="password" name="webdbs[FtpPwd]" value="{$webdb['FtpPwd']}">
          </td>
        </tr>
        <tr> 
          <td class="tdL">FTP端口:(一般是21)</td>
          <td class="tdR"> 
            <input type="text" name="webdbs[FtpPort]" value="{$webdb['FtpPort']}" size="7">
          </td>
        </tr>
        <tr> 
          <td class="tdL">FTP存放附件目录:</td>
          <td class="tdR"> 
            <input type="text" name="webdbs[FtpDir]" value="{$webdb['FtpDir']}">
            如:“abcd”,如果是根目录的话,就输入“./”</td>
        </tr>
        <tr> 
          <td class="tdL">FTP附件目录访问网址(镜像附件):<span help=1>如果没有的话,请必须留空,否则易出问题</span></td>
          <td class="tdR"> 
            <input type="text" name="webdbs[mirror]" value="{$webdb['mirror']}" size="50">
            如:“http://qibosoft.com/abcd”</td>
        </tr>
      </table>
      <div class='submits'>
	  
	  <input type="hidden" name="type" size="5" value="ftp">
	  <input  class=mmcinb  type='submit' name='w' value='保存设置'></div>
    </div>
  </div>
</form>

 </table>
 <div class="MainContainers">
  <div class="Header"><span class="tag">说明</span></div>
  <div class="Conter">
    <ul class="notes">
      <li>FTP远程服务器,必须跟本网站服务器同一个机房,以确保能稳定通信,如果不在同一个机房的话.因网络问题.FTP通信不稳定,容易失败.</li>
    </ul>
  </div>
</div>
{/block}